{extends file="../home.html"}

{block name="title"}{$head_title}{/block}
	
{block name="css"}
{/block}

{block name="content"}
<!--s主内容-->
<section class="content-wrapper">
  <div class="content-container container">
  	<!-- s面包屑导航 -->
  	{include file="../breadcrum_nav.html"}
  	<!-- e面包屑导航 -->
    <!-- s分类 -->
    <div class="col-left">
    {include file="../common_personal_nav.html"}
	</div>	
    <!-- e分类 -->
    <!-- s主内容 -->
    <div class="col-main">
		{include file="../common_personal_header.html"}
		<!-- s需求列表 -->
		<div class="user-main">
			<!-- s记录 -->
			<table class="table table-striped table-bordered">
				<thead>
					<tr>
						<th>需求详情</th>
					</tr>
				</thead>
				{if !$require_list}
				<thead>
					<tr>
						<th style="text-align:center;font-weight:normal;">暂无需求记录</th>
					</tr>
				</thead>
				{/if}
				{if $require_list}
			    <thead>
		          <tr>
		            <th>处理时间</th>
		            <th>处理说明</th>
		            <th>处理结果</th>
		          </tr>
		        </thead>
		        <tbody>
		        {foreach from=$require_list item=item}
		          <tr>
		            <td>{$item.addtime|date_format:"%Y-%m-%d %H:%M:%S"}</td>
		            <td>{$item.message}</td>
		            <td>{if $user_req_info.state == 0}解决中{elseif $user_req_info.state == 1}已解决{elseif $user_req_info.state == 2}已拒绝{/if}</td>
		          </tr>
		          {/foreach}
		        </tbody>
		        {/if}
		      </table>
		      <!-- e记录 -->

		</div>
		<!-- e需求列表 -->

	</div>
	<div class="clearfix"></div>
    <!-- e主内容 -->
  </div>
</section>
<!--e主内容-->
{/block}

{block name="js"}
{/block}
